<?php

include_once './Data/UserData.inc';

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of UserFunc
 *
 * @author jin
 */
class GameUser {
    //put your code here
    var $userData;
    var $bdd;
    
    public function __construct($aBdd) {
        $this->userData = new UserData($aBdd);
    }
    
    public function userSignUp(){
        
    }
    
    public function userSignIn($aPseudo,$aPass){
        if(!$this->userData->findUser($aPseudo, $aPass)){
            die($this->bdd->errorMsg());
        }
    }
    
    public function userSignOut(){
        
    }
    
    public function __destruct() {
        
    }
}

?>
